﻿<%@ Page Language="VB" MasterPageFile="~/WebForm/MasterPage.master" AutoEventWireup="false" CodeFile="ManageTrainingCourse.aspx.vb" Inherits="WebForm_ManageTrainingCourse" %>
<%@ Register namespace="My" tagprefix="cc1" %>
<%@ Register src="~/WebForm/ManageTrainingCourse/QueryTrainingCourse.ascx" tagname="QueryTrainingCourse" tagprefix="My" %>
<%@ Register src="~/WebForm/ManageTrainingCourse/AddTrainingCourse.ascx" tagname="AddTrainingCourse" tagprefix="My" %>
<%@ Register src="~/WebForm/ManageTrainingCourse/QueryTrainingCourseGroup.ascx" tagname="QueryTrainingCourseGroup" tagprefix="My" %>
<%@ Register src="~/WebForm/ManageTrainingCourse/AddTrainingCourseGroup.ascx" tagname="AddTrainingCourseGroup" tagprefix="My" %>
<%--<%@ Register src="~/WebForm/ManageTrainingCourse/AddTrainingCourseGroupMapping.ascx" tagname="AddTrainingCourseGroupMapping" tagprefix="My" %>--%>
<%@ Register Src="~/WebForm/UpdateProgress.ascx" TagName="UpdateProgress" TagPrefix="My" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdateProgress ID="progress1" runat="server">
        <ProgressTemplate>
            <my:UpdateProgress ID="myprogress1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <table width="95%" align="Center">
        <tr>
            <td align="center">
                <asp:Label ID="Title" runat="server" SkinID="title" 
                    Text="<%$ Resources:Title %>"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:LinkButton ID="lknAddCourse" runat="server" meta:resourcekey="lknAddCourse"></asp:LinkButton>
                <asp:LinkButton ID="lknAddCourseGroup" runat="server" meta:resourcekey="lknAddCourseGroup"></asp:LinkButton>
            </td>
        </tr>        
        <tr>
            <td>
                <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="lknAddCourse" />
                        <asp:AsyncPostBackTrigger ControlID="lknAddCourseGroup" />
                    </Triggers>
                    <ContentTemplate>
                        <ajaxToolkit:TabContainer ID="TabContainer1" ActiveTabIndex="0" AutoPostBack="false"
                            runat="server">
                            <ajaxToolkit:TabPanel ID="QueryTrainingCourseTabPanel" HeaderText="<%$ Resources:QueryTabPanel %>" runat="server">
                                <ContentTemplate>
                                    <My:QueryTrainingCourse ID="QueryTrainingCourse1" runat="server" />                                
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="AddTrainingCourseTabPanel" HeaderText="<%$ Resources:AddTabPanel %>" runat="server">
                                <ContentTemplate>
                                 <My:AddTrainingCourse ID="AddTrainingCourse1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>                            
                            <ajaxToolkit:TabPanel ID="QueryTrainingCourseGroupTabPanel" HeaderText="<%$ Resources:QueryGroupTabPanel %>" runat="server">
                                <ContentTemplate>
                                    <My:QueryTrainingCourseGroup ID="QueryTrainingCourseGroup1" runat="server" />                                
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                           <ajaxToolkit:TabPanel ID="AddTrainingCourseGroupTabPanel" HeaderText="<%$ Resources:AddGroupTabPanel %>" runat="server">
                                <ContentTemplate>
                                 <My:AddTrainingCourseGroup ID="AddTrainingCourseGroup1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <%--<ajaxToolkit:TabPanel ID="AddGroupMappingTabPanel" HeaderText="<%$ Resources:AddGroupMappingTabPanel %>" runat="server">
                                <ContentTemplate>
                                 <My:AddTrainingCourseGroupMapping ID="AddTrainingCourseGroupMapping1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>      --%>                      
                        </ajaxToolkit:TabContainer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
